import request from "@/request";
// 登录的接口
export const login = (data)=>{
    return request({
        url:'login',
        method:'post',
        data
    })
}
// 登出的接口
export const logout =()=>{
    return request({
        url:'logout',
        method:'get'
    })
}